<?php
//don't allow other scripts to execute our file
defined('_JEXEC') or die('Direct access to this location is not allowed.');

//include the helper file
require_once(dirname(__FILE__).DS.'helper.php');

// get parameters from the module's configuration
$tweetImage = $params->get('tweetImage');
$useBitly = $params->get('useBitly');
$bitlyApi = $params->get('bitlyApi');
$customMsg = $params->get('customMsg');
$tags = $params->get('tags');

// get the items to display from the helper
$shortenUrl = ModTweetThisHelper::shortenUrl();
$docTitle = ModTweetThisHelper::docTitle();

// return tags as proper hashtags for appending to tweet
$hashTags = ModTweetThisHelper::hash($tags);

// include the template for display
require(JModuleHelper::getLayoutPath('mod_tweet_this'));

?>

